<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Referência do Arquivo definitions.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Busca');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;Principal</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Busca" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Arquivos&nbsp;Membros</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência do Arquivo definitions.h</h1>
<p><a href="definitions_8h_source.html">Vá para o código-fonte deste arquivo.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Definições e Macros</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a319728dbcb720057267ccc46d21dc9ee"></a><!-- doxytag: member="definitions.h::GAtype" ref="a319728dbcb720057267ccc46d21dc9ee" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>GAtype</b>&nbsp;&nbsp;&nbsp;unsigned int</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30a6f25d45523b4f660dc029192abea2"></a><!-- doxytag: member="definitions.h::GAreal_type" ref="a30a6f25d45523b4f660dc029192abea2" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>GAreal_type</b>&nbsp;&nbsp;&nbsp;float</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb7ac68bffbe08289d6bc22354ff1e8f"></a><!-- doxytag: member="definitions.h::pc_cte" ref="abb7ac68bffbe08289d6bc22354ff1e8f" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>pc_cte</b>&nbsp;&nbsp;&nbsp;true</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeff3451b2dbc0b9229eb50f51194342d"></a><!-- doxytag: member="definitions.h::def_pc" ref="aeff3451b2dbc0b9229eb50f51194342d" args="" -->
#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>def_pc</b>&nbsp;&nbsp;&nbsp;12</td></tr>
<tr><td colspan="2"><h2>Variáveis</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75af32ee324f4082b7d82d653cddbe08"></a><!-- doxytag: member="definitions.h::size" ref="a75af32ee324f4082b7d82d653cddbe08" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::coord::size</b> = sizeof(GAtype)*8</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8bbcac627d7c5b871015fda546f9e37"></a><!-- doxytag: member="definitions.h::precision" ref="ae8bbcac627d7c5b871015fda546f9e37" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::coord::precision</b> = 5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a169effaf03114e6775685cb56754bb73"></a><!-- doxytag: member="definitions.h::max" ref="a169effaf03114e6775685cb56754bb73" args="" -->
const GAreal_type&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::coord::max</b> = 5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35a57708d094d62b0357d828f0ad60c1"></a><!-- doxytag: member="definitions.h::min" ref="a35a57708d094d62b0357d828f0ad60c1" args="" -->
const GAreal_type&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::coord::min</b> = -5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7246f04215fa5f213fa5b434652ee983"></a><!-- doxytag: member="definitions.h::indice" ref="a7246f04215fa5f213fa5b434652ee983" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::coord::indice</b> = 0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e28d5ebba19058fed8db28dd2d9bcc6"></a><!-- doxytag: member="definitions.h::identifier" ref="a3e28d5ebba19058fed8db28dd2d9bcc6" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::individual::identifier</b> = 0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2656bd01d0a54a67280833f8aa654a8"></a><!-- doxytag: member="definitions.h::dimension" ref="aa2656bd01d0a54a67280833f8aa654a8" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::individual::dimension</b> = 2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66682e5f81f05381758f1accfd2e4474"></a><!-- doxytag: member="definitions.h::size" ref="a66682e5f81f05381758f1accfd2e4474" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::individual::size</b> = coord::size</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a942dbc37dca4504ccc331517614fa57a"></a><!-- doxytag: member="definitions.h::population_size" ref="a942dbc37dca4504ccc331517614fa57a" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::population::population_size</b> = 20</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8da675457f3449ecc6f20c423552bfb9"></a><!-- doxytag: member="definitions.h::probability" ref="a8da675457f3449ecc6f20c423552bfb9" args="" -->
const float&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::probability</b> = 0.01</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a875876bad690ebde8e7ba654ba9fd39f"></a><!-- doxytag: member="definitions.h::precision" ref="a875876bad690ebde8e7ba654ba9fd39f" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::precision</b> = coord::precision+1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a066926705219c52095767ce93f258f95"></a><!-- doxytag: member="definitions.h::go_down" ref="a066926705219c52095767ce93f258f95" args="" -->
const char&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::go_down</b> = 'd'</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0bdf9db9bc8b6ccc53fdbb6ee994a0a4"></a><!-- doxytag: member="definitions.h::go_up" ref="a0bdf9db9bc8b6ccc53fdbb6ee994a0a4" args="" -->
const char&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::go_up</b> = 'u'</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6b02bf81b3b4d41664d77ad24ae64ed"></a><!-- doxytag: member="definitions.h::go_forward" ref="ae6b02bf81b3b4d41664d77ad24ae64ed" args="" -->
const char&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::go_forward</b> = 'f'</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0750afc81191bce3b2f9941a861c3c41"></a><!-- doxytag: member="definitions.h::numberOfGenerations" ref="a0750afc81191bce3b2f9941a861c3c41" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::numberOfGenerations</b> = 100</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2cfbcaf8acb4de0e90a0a00591b3ad46"></a><!-- doxytag: member="definitions.h::probability" ref="a2cfbcaf8acb4de0e90a0a00591b3ad46" args="" -->
const float&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::mutate_bit_by_bit::probability</b> = 0.01</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40f56d281a6f298cb53395cb29242356"></a><!-- doxytag: member="definitions.h::probability" ref="a40f56d281a6f298cb53395cb29242356" args="" -->
const float&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::cross_over::probability</b> = 0.8</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3adf8409319560c72aacec8acb1d5101"></a><!-- doxytag: member="definitions.h::number_coordinate" ref="a3adf8409319560c72aacec8acb1d5101" args="" -->
const int&nbsp;</td><td class="memItemRight" valign="bottom"><b>def::genetic_operator::cross_over::number_coordinate</b> = individual::dimension</td></tr>
</table>
<hr/><a name="_details"></a><h2>Descrição Detalhada</h2>
<p>Arquivo de configuração do GA. Contém parâmetros defaults como valores máximo mínimo das coordenadas, número de indivíduos e número de gerações. </p>
<dl class="author"><dt><b>Autor:</b></dt><dd>Pedro Pazzini </dd></dl>
<dl class="version"><dt><b>Versão:</b></dt><dd>0.0.1 </dd></dl>
<dl class="date"><dt><b>Data:</b></dt><dd>2010-10-29 </dd></dl>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Arquivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variáveis</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Definições de Tipos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Amigas</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Sat Oct 30 13:47:50 2010 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
